projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f7bde
)
gtkmain: Fix code example
author
Timm Bäder
<mail@baedert.org>
Tue, 25 Apr 2017 13:22:52 +0000
(15:22 +0200)
committer
Timm Bäder
<mail@baedert.org>
Tue, 25 Apr 2017 18:30:37 +0000
(20:30 +0200)
gtk_init doesn't take parameters anymore
gtk/gtkmain.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmain.c
b/gtk/gtkmain.c
index 045480c26baa88b9d2e0aa0a2f0b3e5d3f087afa..b145f0063d1135e28b19df145d3f698c7d68301e 100644
(file)
--- a/
gtk/gtkmain.c
+++ b/
gtk/gtkmain.c
@@
-64,7
+64,7
@@
* ...
*
* // Initialize the widget set
- * gtk_init (
&argc, &argv
);
+ * gtk_init ();
*
* // Create the main window
* mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL);